<?php

use Windward\Core\Router;
use Windward\Core\Http;

$router = new Router($container);
$router->setNotfoundHandler(array('base', 'error404'));
$router->setDefault('index', 'login');

return $router;
